#pragma once

#include <gofcl_fwdgt_ctl.h>

typedef enum {
	FWDGT_CTL_DISABLE_PROTECT = 0x5555,
	FWDGT_CTL_START = 0xCCCC,
	FWDGT_CTL_RELOAD = 0xAAAA,
} fwdgt_ctl_e;

// 控制看门狗（解除写保护、启动、重载）
static inline void fwdgt_cmd(fwdgt_ctl_e ctl) {
	fwdgt_wreg_ctl_s(ctl);
}
